.instructions-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: $half-gutter;

  width: 32em;

  position: absolute;
  z-index: $zindex-popover;
  background: $brand-bg;

  border: $border-width solid transparent;

  &:hover {
    border-color: $border-color;
  }

  h4 {
    margin: 0;
  }

  box-sizing: border-box;

  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.33);
  border-radius: 8px;

  .instructions-overlay-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    svg {
      width: 1.5em;
      height: 1.5em;
    }
    .instructions-overlay-title {
      svg {
        width: 1em;
        height: 1em;
        margin-right: 5px;
      }
      font-weight: $headings-font-weight;

      display: flex;
      align-items: center;
      letter-spacing: 1.25px;
      text-transform: uppercase;

      flex-grow: 4;
      margin: 0px 8px;
    }

    .cllection-instructions-close {
      flex-shrink: 3;
    }
  }

  .instructions-overlay-mod-name {
    font-weight: $headings-font-weight;
    flex-shrink: 3;
    h3 {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  .instructions-overlay-buttons .btn {
    padding: 0.3em;
  }

  .instructions-overlay-content {
    font-size: $font-size-base * 1.5;
    line-height: $line-height-large;
    letter-spacing: 0.5px;
    min-height: 20em;
    max-height: 36vh;

    p {
      user-select: text;
      cursor: auto;
    }
  }
}
